From: Jochen Sprickerhof Date: Fri, 18 Aug 2017 09:30:55 +0000 (+0200) Subject: Add patch for PCL_ROOT X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~156 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=9d1864c094b2b99df94f71f76f92bf2ad2d778d1;p=pcl.git Add patch for PCL_ROOT --- diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch new file mode 100644 index 00000000..bf37a4dc --- /dev/null +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -0,0 +1,21 @@ +From: Jochen Sprickerhof +Date: Fri, 18 Aug 2017 11:30:38 +0200 +Subject: Fix PCL_ROOT path + +--- + PCLConfig.cmake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in +index f4ef6a0..aa3e000 100644 +--- a/PCLConfig.cmake.in ++++ b/PCLConfig.cmake.in +@@ -717,7 +717,7 @@ if(WIN32 AND NOT MINGW) + get_filename_component(PCL_ROOT "${PCL_DIR}" PATH) + else(WIN32 AND NOT MINGW) + # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y +- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) ++ get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) + endif(WIN32 AND NOT MINGW) + + # check whether PCLConfig.cmake is found into a PCL installation or in a build tree diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..1ae14fe8 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Fix-PCL_ROOT-path.patch